<?php

namespace app\yunda\validate;
use think\Validate;

/**
 * Class GoodsType积分商品分类
 * @package app\yunda\validate
 */
class GoodsType extends Validate
{
    //定义验证规则
    protected $rule = [
        'good_type_name|积分商品分类名称' => 'require|max:30',

    ];

    //定义验证提示
    protected $message = [
        'good_type_name.max' => '积分商品分类名称最多30个字符',
    ];
}
